// =============================================================
// CMIMEServerCallback class
// ---------------------------------------
// Author : Woo-Hyun Kim
// Email : woorung@icu.ac.kr or woorung@nhncorp.com
// Date : Apr. 17, 2008
// =============================================================
#ifndef CMIMEServerCallback_H
#define CMIMEServerCallback_H
//-----------------------------------------------------------------------
#include "CMIMECallback.h"
//-----------------------------------------------------------------------
class CMIMEServerCallback : public CMIMECallback
{
public:
	CMIMEServerCallback();
	virtual ~CMIMEServerCallback();

	static void *read_open(struct soap *soap, void *handle, const char *id, const char *type, const char *description);
	static size_t read(struct soap *soap, void *handle, char *buf, size_t len);
	static void read_close(struct soap *soap, void *handle);

	static void *write_open(struct soap *soap, void *unused_handle, const char *id, const char *type, const char *description, enum soap_mime_encoding encoding);
	static int write(struct soap *soap, void *handle, const char *buf, size_t len);
	static void write_close(struct soap *soap, void *handle);
};
//-----------------------------------------------------------------------
#endif
